package com.onlineMIS.ORM.entity.headQ.inventoryFlow;

import java.io.Serializable;
import java.util.LinkedHashMap;
import java.util.Map;import com.hp.hpl.sparta.xpath.ThisNodeTest;

public class HeadQInventoryStore implements Serializable {
   /**
	 * 
	 */
	private static final long serialVersionUID = 4192031352894390928L;
	public static final int INVENTORY_STORE_DEFAULT_ID =1;
	public static final int ALL_HEADQ_STORE  = -1;
	public static final int DEACTIVATE= 1;
	public static final int  NORMAL  = 0;
	
	public static final int BELONG_TO_QX = 0;
	public static final int BELONG_TO_XLC = 1;
	public static Map<Integer, String> belongToMap = new LinkedHashMap<Integer, String>();
	
	static {
		belongToMap.put(BELONG_TO_QX, "千禧");
		belongToMap.put(BELONG_TO_XLC, "禧乐仓");
	}
	
    private int id;
    private String name;
    private String comment;
    private int status;
    private int belongTo;//库房归属
    private String belongToS;
   
    public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
    public HeadQInventoryStore(){
    	
    } 
    public HeadQInventoryStore(int id){
    	this.setId(id);
    }    
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getComment() {
		return comment;
	}
	public void setComment(String comment) {
		this.comment = comment;
	}
	public int getBelongTo() {
		return belongTo;
	}
	public void setBelongTo(int belongTo) {
		this.belongTo = belongTo;
	}
	public String getBelongToS() {
		return belongToS;
	}
	public void setBelongToS(String belongToS) {
		this.belongToS = belongToS;
	}	
	public void init() {
		this.belongToS = belongToMap.get(this.belongTo);
	}
	
}
